import React, { Component } from 'react'
// 引入hoc1
import hoc1 from './hoc1'

class Father extends Component {
    render() {
        console.log('this-Father', this);
        return (
            <>
                <ul>
                    {
                        this.props.schoolArr.map(item => <li key={item.id}>{item.school_name}</li>)
                    }
                </ul>
            </>
        )
    }

}

export default hoc1(Father)